@import './base.css';

.chat_box .chat_content .chat_hearder {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
}

.chat_box .chat_content .chat_hearder .bg {
    width: 100%;
    height: 120px;
    background-color: rgba(255, 255, 255, .9);
}

.chat_box .chat_content .chat_hearder .hearder {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    padding: 0 35px;
}

.chat_box .chat_content .chat_hearder .hearder .name_box {
    flex: 1;
    display: flex;
    align-items: center;
}

.chat_box .chat_content .chat_hearder .hearder .name_box .icon {
    width: 45px;
    height: 45px;
    border-radius: 15px;
    color: var(--vt-c-bg-color-2);
    background-color: var(--vt-c-bg-color-1);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.chat_box .chat_content .chat_hearder .hearder .name_box .name {
    font-size: 20px;
    color: var(--vt-c-bg-color-1);
    font-weight: bold;
}

.chat_box .chat_content .chat_hearder .hearder .name_box .tag_box {
    padding: 0;
    padding: 0 10px;
    border-radius: 10px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    position: relative;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    background-color: #eddbdb;
}

.chat_box .chat_content .chat_hearder .hearder .name_box .tag_box .i{
    font-size: 16px;
    color: #333;
    margin-right: 5px;
}

.chat_box .chat_content .chat_hearder .hearder .name_box .tag_box .t{
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

/* .chat_box .chat_content .chat_hearder .hearder .tag_box:hover {
    background-color: var(--vt-c-bg-color-1);
}

.chat_box .chat_content .chat_hearder .hearder .tag_box:hover .i{
    color: var(--vt-c-bg-color-2);
}

.chat_box .chat_content .chat_hearder .hearder .tag_box:hover .t{
    color: var(--vt-c-bg-color-2);
} */


.chat_box .chat_content .chat_hearder .hearder .button {
    background-color: #fff;
    padding: 0;
    padding: 0 15px;
    border-radius: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chat_box .chat_content .chat_hearder .hearder .button .drawers_box {
    width: 100%;
    border: 1px solid #333;
    border-radius: 10px;
    background-color: #333;
    position: absolute;
    left: 0;
    top: 50px;
    z-index: 98;
    padding: 12px 16px;
}

.chat_box .chat_content .chat_hearder .hearder .button .drawers_box .triangle {
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: transparent transparent #333 transparent;
    position: absolute;
    left: calc(50% - 5px);
    top: -20px;
}

.chat_box .chat_content .chat_hearder .hearder .button .drawers_box .drawers {
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.chat_box .chat_content .chat_hearder .hearder .button .drawers_box .drawers:hover {
    background-color: #fff;
}

.chat_box .chat_content .chat_hearder .hearder .button .drawers_box .drawers:nth-child(1) {
    margin-top: 0;
}

.chat_box .chat_content .chat_hearder .hearder .button .drawers_box .drawers .text {
    font-size: 13px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.chat_box .chat_content .chat_hearder .hearder .button .drawers_box .drawers:hover .text {
    color: #333;
}

.chat_box .chat_content .chat_hearder .hearder .button .drawers_box .drawers .icon {
    font-size: 15px;
    color: #666;
}



.chat_box .chat_content .chat_hearder .hearder .button:hover {
    background-color: var(--vt-c-bg-color-1);
}

.chat_box .chat_content .chat_hearder .hearder .button .icon {
    font-size: 30px;
}


.chat_box .chat_content .chat_hearder .hearder .button button {
    font-size: 18px;
    font-weight: bold;
    border: none;
    box-sizing: border-box;
    background-color: transparent;
}



.chat_box .chat_content .chat_hearder .hearder .button:hover .icon {
    color: var(--vt-c-bg-color-2);
}

.chat_box .chat_content .chat_hearder .hearder .button:hover button {
    color: var(--vt-c-bg-color-2);
}

.chat_box .chat_content .chat_footer {
    width: 100%;
    /* position: absolute;
    right: 0;
    bottom: 0;
    z-index: 99; */
    padding: 0 35px 35px;
    box-sizing: border-box;
}

.chat_box .chat_content .chat_footer .footer {
    background-color: var(--vt-c-bg-color-2);
    border-radius: 15px;
    width: 100%;
    height: 68px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border: 2px solid transparent;
}

.chat_box .chat_content .chat_footer .footer:hover {
    border: 2px solid var(--vt-c-bg-color-1);
}

.chat_box .chat_content .chat_footer .footer .input {
    flex: 1;
    height: 100%;
    padding-left: 10px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
}

.chat_box .chat_content .chat_footer .footer .clear {
    font-size: 20px;
    color: #333;
}

.chat_box .chat_content .chat_footer .footer .inputTextarea {
    font-size: 18px;
    color: var(--vt-c-bg-color-1);
    border: none;
    background-color: transparent;
    border-radius: 10px;
    font-size: 15px;
    width: 100%;
    height: 100%;
    padding-top: 20px;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    resize: none;

}

.chat_box .chat_content .chat_footer .quick_box {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 66px;
    z-index: 99;
}

.chat_box .chat_content .chat_footer .quick_box02 {
    width: 100%;
    position:relative;
    bottom: 0px;
    padding: 0 30px 0 60px;
    
}

.chat_box .chat_content .chat_footer .quick_box02::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    cursor: n-resize;
    
  }

.chat_box .chat_content .chat_footer .quick_box .triangle {
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: var(--vt-c-bg-color-2) transparent transparent transparent;
    margin-left: 30px;

}

.chat_box .chat_content .chat_footer .quick_box .triangle02 {
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: #eddbdb transparent transparent transparent;
    margin-left: 30px;

}

/* 即时通讯 */

.chat_box .chat_content .chat_footer .quick_box .quick_content {
    width: fit-content;
    border-radius: 35px;
    background-color: var(--vt-c-bg-color-2);
    padding: 15px 18px;
    height: 600px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_title {
    display: flex;
    align-items: center;
    height: 40px;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_title .i {
    color: var(--vt-c-text-color-4);
    font-size: 36px;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_title .t {
    color: #333;
    font-weight: bold;
    font-size: 15px;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto {
    height: calc(100% - 40px);
    overflow: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    /* 使滚动平滑 */
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list {
    border-bottom: 1px solid #e8e8e8;
    padding: 5px 10px;
    position: relative;
    box-sizing: border-box;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list .q_list {
    display: flex;
    align-items: center;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list .i {
    font-size: 18px;
    color: #999;
    margin-right: 5px;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list .quick_text {
    font-size: 12px;
    color: #666;
    flex: 1;
    margin-right: 10px;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list .tick {
    font-size: 18px;
    color: transparent;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list:hover {
    background-color: var(--vt-c-text-color-4);
    border-radius: 10px;
    border-color: var(--vt-c-text-color-4);
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list:hover .i {
    color: #fff;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list:hover .quick_text {
    color: #fff;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list:hover .tick {
    color: #fff;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list .quick_render {
    width: 100%;
    height: 100%;
    padding: 0 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    /* position: absolute;
    left: calc(100% + 30px);
    top: 0;
    z-index: 100; */
    display: none;
    transition: transform 0.1s;
    padding: 6px;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list .quick_render .trle {
    width: 0;
    height: 0;
    border: 6px solid;
    border-color: transparent rgba(0, 0, 0, 0.5) transparent transparent;
    position: absolute;
    left: -12px;
    top: calc(50% - 6px);
    z-index: 100;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list .quick_render .render_t {
    display: flex;
    align-items: center;

}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list .quick_render .render_t .ic {
    font-size: 15px;
    color: #fff;
    margin-right: 5px;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list .quick_render .render_t .it {
    font-size: 12px;
    color: #fff;
}

.chat_box .chat_content .chat_footer .quick_box .quick_content .quick_auto .quick_list:hover .quick_render {
    display: block;
    animation: act 0.5s;
    /* 应用抖动动画 */
    /* animation-iteration-count: infinite; */
    /* 动画无限循环 */
}

/* 即时通讯 */

/* 实时翻译 */
.chat_box .chat_content .chat_footer .quick_box .quick_render_content {
    width: 100%;
    height: 200px;

}

.chat_box .chat_content .chat_footer .quick_box .quick_render_content .render_box {
    background-color: var(--vt-c-bg-color-2);
    padding: 20px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 35px;
    height: 100%;
    width: 47.2%;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #eddbdb;
}

.chat_box .chat_content .chat_footer .quick_box .quick_render_content .render_box .render_icon {
    font-size: 26px;
    color: #333;
    height: 100%;
    border-right: 1px solid #a6a6a6;
    padding-right: 20px;
    display: flex;
    font-weight: bold;
    align-items: center;
}

.chat_box .chat_content .chat_footer .quick_box .quick_render_content .render_box .render_text {
    font-size: 15px;
    color: #333;
    padding: 0 0 0 20px;
    font-weight: bold;
    height: 100%;
    flex: 1;
    overflow: hidden;
    overflow-y: auto;
    border: none;
    background-color: transparent;
    resize: none;
    word-wrap: break-word;
    word-break: break-all;
    hyphens: auto;
}

.chat_box .chat_content .chat_footer .quick_box .quick_render_content .render_box .menu{
    background-color: #333;
    color: #fff;
    padding: 0;
    padding: 0 15px;
    border-radius: 10px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chat_box .chat_content .chat_footer .quick_box .quick_render_content .render_box .probe_box{
    width: calc(100% - 5px);
    height: 100%;
    position: absolute;
    left: calc(100% + 30px);
    top: 0;
    z-index: 100;
    background-color: var(--vt-c-bg-color-2);
    padding: 20px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 35px;
    display: flex;
    align-items: center;
    background-color: #d9eec3;
}

.chat_box .chat_content .chat_footer .quick_box .quick_render_content .render_box .probe_box .trle{
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: transparent #d9eec3 transparent transparent;
    position: absolute;
    left: -20px;
}

.chat_box .chat_content .chat_footer .quick_box .quick_render_content .render_box .probe_box .probe_text{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.chat_box .chat_content .chat_footer .quick_box .quick_render_content .render_box .probe_box .probe_text .probe_icon{
    font-size: 30px;
    color: #333;
    height: 100%;
    border-right: 1px solid #a6a6a6;
    padding-right: 20px;
    display: flex;
    font-weight: bold;
    align-items: center;
}

.chat_box .chat_content .chat_footer .quick_box .quick_render_content .render_box .probe_box .probe_text .probe_value{
    font-size: 15px;
    color: #333;
    padding: 0 0 0 20px;
    font-weight: bold;
    height: 100%;
    flex: 1;
    overflow: hidden;
    overflow-y: auto;
    border: none;
    background-color: transparent;
    word-wrap: break-word;
    word-break: break-all;
}

/* 实时翻译 */

.chat_box .chat_content .chat_footer .footer .icon {
    font-size: 36px;
    color: var(--vt-c-bg-color-1);
    margin-left: 20px;
}

.chat_box .chat_content .chat_footer .footer .icon:hover {
    color: var(--vt-c-text-color-4);
}

.chat_box .chat_content .chat_footer .footer .iconno {
    margin-left: 0;
}

.chat_box .chat_content .chat_footer .footer .iconno02{
    margin-left: 10px
}


.chat_box .chat_content .content_list {
    flex: 1;
    overflow: hidden;
    overflow-y: auto;
    padding: 25px;
    box-sizing: border-box;
}

.chat_box .chat_content .content_list .go_list {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
}

.chat_box .chat_content .content_list .go_list .my_list {
    flex: 1;
    display: flex;
    /* align-items: flex-end; */
}

.chat_box .chat_content .content_list .go_list .my_list .avatar {
    width: 55px;
    height: 55px;
    margin-right: 15px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 15px;
    transition: transform 0.1s;
}

.chat_box .chat_content .content_list .go_list .my_list .avatar:hover {
    animation: shake 0.5s;
    /* 应用抖动动画 */
    /* animation-iteration-count: infinite; */
    /* 动画无限循环 */
}

.chat_box .chat_content .content_list .go_list .my_list .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text {
    flex: 1;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .name {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_box {
    display: flex;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .more {
    font-size: 15px;
    color: #666;
    margin-left: 7px;
    position: relative;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .more .drawers_box {
    min-width: 150px;
    border: 1px solid #f5f7fb;
    border-radius: 20px;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: 98;
    padding: 12px 16px;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .more .drawers_box .drawers {
    width: 100%;
    padding: 5px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .more .drawers_box .drawers:hover {
    background-color: #eddbdb;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .more .drawers_box .drawers:nth-child(2) {
    margin-top: 5px;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .more .drawers_box .drawers:nth-child(3) {
    margin-top: 5px;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .more .drawers_box .drawers .text {
    font-size: 13px;
    color: #333;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .more .drawers_box .drawers .icon {
    font-size: 15px;
    color: #666;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content {
    max-width: 40%;
    background-color: #eddbdb;
    border-radius: 8px 30px 30px 30px;
    padding: 15px 25px;
    position: relative;
    box-sizing: border-box;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}




.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .render_box {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 30px;
    position: absolute;
    left: calc(100% + 30px);
    top: 0;
    z-index: 97;
    padding: 20px;
    box-sizing: border-box;
    /* display: none; */
    /* transition: transform 0.1s; */
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text:hover .text_content .render_box {
    display: block;
    /* animation: act 0.5s; */
    /* 应用抖动动画 */
    /* animation-iteration-count: infinite; */
    /* 动画无限循环 */
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .render_box .triangle {
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: transparent rgba(0, 0, 0, 0.6) transparent transparent;
    position: absolute;
    left: -20px;
    top: calc(50% - 5px);
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .render_box .render_value {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .render_box .render_value .icon {
    font-size: 26px;
    height: 100%;
    color: var(--vt-c-text-color-2);
    border-right: 1px solid #999;
    padding-right: 20px;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .render_box .render_value .render_text {
    font-size: 15px;
    color: var(--vt-c-text-color-2);
    word-wrap: break-word;
    /* 或 overflow-wrap: break-word; */
    word-break: break-all;
    /* 处理长单词的换行 */
    hyphens: auto;
    /* 自动添加连字符以帮助换行 */
    flex: 1;
    max-width: 100%;
    height: 100%;
    line-height: 22px;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}



.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .file {
    width: 100%;
    display: flex;
    align-items: center;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .file img {
    width: 50px;
    height: auto;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .file .file_name {
    flex: 1;
    margin-left: 10px;
    margin-right: 10px;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .file .file_name .n {
    font-size: 15px;
    color: #666;
    font-weight: bold;
    text-align: right;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .file .file_name .size {
    font-size: 12px;
    color: #999;
    text-align: right;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .file .down {
    font-size: 30px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .phonetic {
    width: 100%;
}

.voice-message {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 200px;
}

/* 消息方向 */
.voice-message.left {
    flex-direction: row-reverse;
}

.voice-message.right {
    flex-direction: row;
}

/* 时间显示 */
.duration {
    font-size: 12px;
    color: #999;
}

/* 播放按钮 */
.play-button {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.play-button .play {
    font-size: 30px;
    color: var(--vt-c-text-color-1);
}

.play-button:hover {
    background: #f5f5f5;
}

/* 麦克风图标 */
.mic-icon {
    width: 20px;
    height: 20px;
    color: #746085;
}

/* 播放动画 */
.playing-animation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 24px;
    height: 20px;
}

.wave-bar {
    width: 4px;
    height: 100%;
    background-color: #746085;
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) {
    animation-delay: 0s
}

.wave-bar:nth-child(2) {
    animation-delay: 0.3s
}

.wave-bar:nth-child(3) {
    animation-delay: 0.6s
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(0.3)
    }

    50% {
        transform: scaleY(1)
    }
}

/* 右侧消息样式 */
.voice-message.right .play-button {
    background: #746085;
    border-color: #746085;
}

.voice-message.right .mic-icon {
    color: white;
}

.voice-message.right .wave-bar {
    background-color: white;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .img {
    background-color: #fff;
    max-width: 200px;
    padding: 5px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .img img {
    width: 96%;
    height: 120px;
    border-radius: 5px;
    display: block;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .text {
    font-size: 16px;
    color: var(--vt-c-bg-color-1);
    font-weight: bold;
    word-wrap: break-word;
    /* 或 overflow-wrap: break-word; */
    word-break: break-all;
    /* 处理长单词的换行 */
    hyphens: auto;
    /* 自动添加连字符以帮助换行 */
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .time {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.chat_box .chat_content .content_list .go_list .my_list .chat_text .text_content .time span {
    font-size: 14px;
    margin-right: 4px;

}



.chat_box .chat_content .content_list .go_list .his_list {
    flex: 1;
    display: flex;
    /* align-items: flex-end; */
}


.chat_box .chat_content .content_list .go_list .his_list .avatar {
    width: 55px;
    height: 55px;
    margin-left: 15px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 15px;
    transition: transform 0.1s;
}

.chat_box .chat_content .content_list .go_list .his_list .avatar:hover {
    animation: shake 0.5s;
    /* 应用抖动动画 */
    /* animation-iteration-count: infinite; */
    /* 动画无限循环 */
}

.chat_box .chat_content .content_list .go_list .his_list .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text {
    flex: 1;

}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .name {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: right;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_box {
    display: flex;
    justify-content: flex-end;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .more {
    font-size: 15px;
    color: #666;
    margin-right: 7px;
    position: relative;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .more .drawers_box {
    width: 150px;
    border: 1px solid #f5f7fb;
    border-radius: 20px;
    background-color: #fff;
    position: absolute;
    right: 0;
    top: 25px;
    z-index: 98;
    padding: 12px 16px;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .more .drawers_box .drawers {
    width: 100%;
    padding: 5px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .more .drawers_box .drawers:hover {
    background-color: #d9eec3;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .more .drawers_box .drawers:nth-child(2) {
    margin-top: 5px;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .more .drawers_box .drawers:nth-child(3) {
    margin-top: 5px;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .more .drawers_box .drawers .text {
    font-size: 13px;
    color: #333;
    word-wrap: break-word;
    /* 或 overflow-wrap: break-word; */
    word-break: break-all;
    /* 处理长单词的换行 */
    hyphens: auto;
    /* 自动添加连字符以帮助换行 */
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .more .drawers_box .drawers .icon {
    font-size: 15px;
    color: #666;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content {
    max-width: 40%;
    background-color: #d9eec3;
    border-radius: 30px 8px 30px 30px;
    padding: 15px 25px;
    position: relative;
    box-sizing: border-box;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.1);
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .render_box {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 30px;
    position: absolute;
    right: calc(100% + 30px);
    top: 0;
    z-index: 97;
    padding: 20px;
    box-sizing: border-box;
    /* display: none;
    transition: transform 0.1s; */
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text:hover .text_content .render_box {
    display: block;
    /* animation: actzero 0.5s; */
    /* 应用抖动动画 */
    /* animation-iteration-count: infinite; */
    /* 动画无限循环 */
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .render_box .triangle {
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.6);
    position: absolute;
    right: -20px;
    top: calc(50% - 5px);
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .render_box .render_value {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .render_box .render_value .icon {
    font-size: 26px;
    height: 100%;
    color: var(--vt-c-text-color-2);
    border-left: 1px solid #999;
    padding-left: 20px;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .render_box .render_value .render_text {
    font-size: 15px;
    color: var(--vt-c-text-color-2);
    word-wrap: break-word;
    /* 或 overflow-wrap: break-word; */
    word-break: break-all;
    /* 处理长单词的换行 */
    hyphens: auto;
    /* 自动添加连字符以帮助换行 */
    flex: 1;
    max-width: 100%;
    height: 100%;
    line-height: 22px;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .file {
    width: 100%;
    display: flex;
    align-items: center;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .file img {
    width: 50px;
    height: auto;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .file .file_name {
    flex: 1;
    margin-left: 10px;
    margin-right: 10px;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .file .file_name .n {
    font-size: 15px;
    color: #666;
    font-weight: bold;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .file .file_name .size {
    font-size: 12px;
    color: #999;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .file .down {
    font-size: 30px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .phonetic {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .text {
    font-size: 16px;
    color: var(--vt-c-bg-color-1);
    font-weight: bold;
    word-wrap: break-word;
    /* 或 overflow-wrap: break-word; */
    word-break: break-all;
    /* 处理长单词的换行 */
    hyphens: auto;
    /* 自动添加连字符以帮助换行 */
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .img {
    background-color: #fff;
    max-width: 200px;
    padding: 5px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .img img {
    width: 96%;
    height: 120px;
    border-radius: 5px;
    display: block;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .time {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.chat_box .chat_content .content_list .go_list .his_list .chat_text .text_content .time span {
    font-size: 14px;
    margin-right: 4px;

}

.clear_go {
    width: 100%;
    height: 42px;
}

.clear_top {
    width: 100%;
    height: 120px;
}

.sendHeight{
    height: 500px;
    width: 100%;
}


/* 录音 */
/* 基本圆圈样式 */
.sound_box {
    width: 200px;
}

.sound_box .record_box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sound_box .record_box .max_round {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #f5f5f5;
    position: relative;
    box-sizing: border-box;
}

.sound_box .record_box .max_round .center_round {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 5px solid #d8cbe3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: calc(50% - 45%);
    top: calc(50% - 45%);
}

.sound_box .record_box .max_round .center_round_act {
    width: 88%;
    height: 88%;
    border: 2px solid #673a8d;
    position: absolute;
    left: calc(50% - 44%);
    top: calc(50% - 44%);
    border-left-color: transparent;
    /* 左边框透明 */
    border-bottom-color: transparent;
    /* 左边框透明 */
    border-radius: 50%;
    /* 圆形 */

}

.sound_box .record_box .max_round .center_round_act_go {
    animation: spin 1s linear infinite;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
        /* 开始旋转 */
    }

    100% {
        transform: rotate(360deg);
        /* 完成一个完整的旋转 */
    }
}

.sound_box .record_box .max_round .min_round {
    width: 56%;
    height: 56%;
    border-radius: 50%;
    border: 10px solid #f5f5f5;
    position: absolute;
    left: calc(50% - 28%);
    top: calc(50% - 28%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #673a8d;
}

.sound_box .record_box .max_round .min_round_go {
    animation: expand 1s linear infinite;
}
 
@keyframes expand {
    0% {
      transform: scale(1); /* 开始时，无放大 */
    }
    50% {
      transform: scale(1.1); /* 中间放大到1.5倍 */
    }
    100% {
      transform: scale(1); /* 结束时，恢复到原始大小 */
    }
  }

.sound_box .work_box {
    width: 100%;
    margin-top: 10px;
}

.sound_box .work_box .time {
    display: flex;
    justify-content: center;
    color: #673a8d;
    font-size: 12px;
}

.sound_box .work_box .work {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.sound_box .work_box .work .menu {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound_box .work_box .work .menu:nth-child(1) {
    background-color: #d8cbe3;
    color: #673a8d;
}

.sound_box .work_box .work .menu:nth-child(2) {
    background-color: #673a8d;
    color: #fff;
    margin-left: 8px;
}

.sound_box .work_box .work .menu:nth-child(3) {
    background-color: #673a8d;
    color: #fff;
    margin-left: 8px;
}